import {Column, Model, Table} from "sequelize-typescript";
import {DataTypes} from "sequelize";

@Table({tableName:'xhssubject_0311',timestamps:false })
export class XhssubjectModel extends Model{

    @Column({type:DataTypes.STRING,field:'noteId'})
    noteId!: string

    @Column({type:DataTypes.JSON,field:'noteInfo'})
    noteInfo!: string

    @Column({type:DataTypes.JSON,field:'userInfo'})
    userInfo!: string

    @Column({type:DataTypes.JSON,field:'content'})
    noteContent!: string

    @Column({type:DataTypes.JSON,field:'blogger_detail'})
    bloggerDetail!: string

    @Column({type:DataTypes.TINYINT,field:'is_fetch_content'})
    isFetchContent!: number
}
